package com.ypinkj.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ypinkj.app.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author jinbin
 * @date 2018-07-08 20:52
 */
public interface UserService extends IService<User> {

    User findByUsername(@Param("username") String username);
    User findUserById(@Param("id") String id);
    User findUserByPhone(@Param("phone") String phone);
    void UpdateUserToken(User user);

}
